package com.dm.hdfxxt.productmanage.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Mapper
@Component(value ="productMapper")
public interface ProductMapper {
    List<Map<String,Object>> queryProductByCondition(Map<String, Object> param);

    int saveProduct(Map<String, Object> param);

    List<Map<String,Object>> queryAllProduct(Map<String, Object> param);

    int editProduct(Map<String, Object> param);

    int delProduct(Map<String, Object> param);
}
